<?php

declare(strict_types=1);

namespace DreamCat\StateMachine\Enums;

use Dreamcat\ApiDoc\Annotations\EnumDesc;
use MyCLabs\Enum\Enum;

/**
 * 状态健康检查级别
 * @author vijay
 * @method static StateHealthLevelEnum HEALTH()
 * @method static StateHealthLevelEnum WARNING()
 * @method static StateHealthLevelEnum ERROR()
 * @method static StateHealthLevelEnum FATAL()
 */
class StateHealthLevelEnum extends Enum
{
    #[EnumDesc("一切正常")]
    public const HEALTH = 0;
    #[EnumDesc("警告")]
    public const WARNING = 10;
    #[EnumDesc("错误")]
    public const ERROR = 20;
    #[EnumDesc("存在致命问题")]
    public const FATAL = 30;
}

# end of file
